Test Scenarios Generation Based on Use Cases
نویسندگان
چکیده
This research group has been working towards building an environment which helps software development, providing support to some activities based on use case model. Prior to our enrollment in this research, the environment supported use case construction, requirements document analysis, requirements traceability and use case points estimation. In this paper it is presented a strategy to generate test scenarios for unit testing and integration testing, based on use case model. Such test scenarios are generated automatically through a module that uses information from this broader environment and they are a starting point to test case definition. The data modeling was based on some proposals found in literature which provided the means to implement the dependency chart, graphs and the test tree. Such structures supported the test scenarios generation. Based on a system previously tested from a real company, we compared the unit and integration test scenarios generated by the environment and the results showed that some test cases were not covered by our new module but, on the other side, some generated scenarios were not planned by the company. With this in mind, the test scenarios automatically generated by the environment can be considered as a support to the test plan elaboration and to the test case definition.
منابع مشابه
Test Case Generation Based on Use case and Sequence Diagram
We present a comprehensive test case generation technique from UML models. We use the features in UML 2.0 sequence diagram including conditions, iterations, asynchronous messages and concurrent components. In our approach, test cases are derived from analysis artifacts such as use cases, their corresponding sequence diagrams and constraints specified across all these artifacts. We construct Use...
متن کاملA Scenario-Based Approach to Validating and Testing Software Systems Using Statecharts
Scenarios (Use cases) are used to describe the functionality and behavior of a (software) system in a user-centered perspective. As scenarios form a kind of abstract level test cases for the system under development, the idea to use them to derive test cases for system test is quite intriguing. Yet in practice scenarios from the analysis phase are seldom used to create concrete system test case...
متن کاملSpecification - Based Test Case Generation Using Dependency
Testing represents a crucial phase in the development of a software system, often requiring considerable effort and resources. Our purpose is to offer a novel approach for generating test cases, based on requirements specification. We make use of scenarios used in the requirements specification phase, taking into consideration the various relationships that can exist between scenarios.
متن کاملBest Test Cases Selection Approach Using Genetic Algorithm
This paper proposes an approach for selecting best testing scenarios using Genetic Algorithm. Test cases generation approach uses UML sequence diagrams, class diagrams and Object Constraint Language (OCL) as software specifications sources. There are three main concepts: Edges Relation Table (ERT), test scenarios generation and test cases generation used in this work. The ERT is used to detect ...
متن کاملA Practical Approach to Validating and Testing Software Systems Using Scenarios
Scenarios (Use cases) are a means to capture a system’s functionality and behavior in a user-centered perspective. Thus they are used in most modern objectoriented software development methods to help elicit and document user requirements. Scenarios also form a kind of abstract level test cases for the system under development. Yet they are seldom used to derive concrete system test cases. In t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2012